package com.atguigu.spzx.order;

import com.atguigu.spzx.common.anno.EableUserWebMvcConfiguration;
import com.atguigu.spzx.common.anno.EnableUserFeignInterceptor;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableFeignClients(basePackages = {"com.atguigu.spzx.feign.cart", "com.atguigu.spzx.feign.user",
                                    "com.atguigu.spzx.feign.product"})
@MapperScan("com.atguigu.spzx.order.mapper")
@EnableUserFeignInterceptor
@EableUserWebMvcConfiguration
public class OrderApplication {

    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class , args) ;
    }

}